package com.huawei.crm.util;

import com.huawei.crm.domain.Employee;
import org.apache.shiro.SecurityUtils;

public class UserContext {

    public static Employee getCurrentEmp(){

       return (Employee) SecurityUtils.getSubject().getPrincipal();
    }
}
